using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services
{
    /********************************BEGIN SinhVienHocKyService****************************************/
    ///<summary>
    /// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
    /// <para>Date:09/08/2010 12:01:35</para>
    /// <para>Class Name: SinhVienHocKyService</para>
    /// <para>Description: </para>
    ///</summary>


    public partial class SinhVienHocKyService 
    {
        public DataSet SelectAllDSByHocKy_IDNamHoc_IDListSinhVien(int HocKy_ID, int NamHoc_ID, List<int> lsSinhVien_ID)
        {
            SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
            return dao.SelectAllDSByHocKy_IDNamHoc_IDListSinhVien(HocKy_ID, NamHoc_ID, lsSinhVien_ID);
        }
        public void UpdateListDiemTongKet(List<int> ListSinhVienHocKy_ID, List<decimal> ListDiemTongKet)
        {
            SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
            for (int i = 0; i < ListSinhVienHocKy_ID.Count; i++)
            {
                dao.UpdateDiemTongKet(ListDiemTongKet[i], ListSinhVienHocKy_ID[i]);
            }
        }
    }
    /*****************************************************************************************************/
    /**********************************END SinhVienHocKyWebService*****************************************/
    /*****************************************************************************************************/
}

